POST /{BASE}/config/data/{key}Set the configuration with the key passed in the path argument. The input has to be a
JSON list of String values sent in the body of the request
- HTTP Example:
POST /{BASE}/config/data/{key}?type=…&comment=… | - API Example:
ConfigurationWebService.setConfiguration({'type': , 'comment': , 'key': }); |
- Output:
- Response - OK if the value was set correctly, ERROR if parsing failed
- Query parameters:
- type
- comment
- Consumes:
- application/json
- HTTP return codes:
- 200 - if the configuration was set
- 400 - if the input sent in the body could not be parsed
|